using UnityEngine;
using System.Collections;

public class MouseController : MonoBehaviour {
	
	public Basket basket;
	
	void Start () {
	
	}
	
	void OnHover(bool isOver){
		if(isOver){
			basket.isMouseOver = true;
			basket.targetX = Input.mousePosition.x;
		}
		else
		{
			basket.isMouseOver = false;
		}
	}
}
